#include "State.h"

using namespace D11;

ID3D11Device* State::m_device = nullptr;
ID3D11DeviceContext* State::m_deviceContext = nullptr;



void D11::State::Init(ID3D11Device* device, ID3D11DeviceContext* context)
{
	State::m_device = device;
	State::m_deviceContext = context;
}



ID3D11Device* D11::State::Device()
{
	return m_device;

}

ID3D11DeviceContext* D11::State::Context()
{
	return m_deviceContext;

}
